package com.woniu.entity.vo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "靶场用户VO")
public class UserTrainingVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("用户姓名")
    private String userName;

    @ApiModelProperty("靶场id")
    private Integer trainingId;

    @ApiModelProperty("靶场名称")
    private String trainingName;

    @ApiModelProperty("解析状态（0未看过解析 1看过解析	当看过解析时 分数乘以三分之一）")
    private Byte processStatus;

    @ApiModelProperty("通过状态")
    private Byte passStatus;

    @ApiModelProperty("分数")
    private Integer score;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

}
